<template>
<div class="layerRtb layerRtb-threecolumn layerRtb-right">
    <three-title :title="{name:''}" :close="false">
        <span tag="i" class="rig_close fr" @click="$parent.$parent.clickFourShow()"></span>
    </three-title>
    <div class="layerRtb-scroll thinScroll" v-scrollHeight = "270">
        <div class="analyItem" v-for="(item,index) in dataList" :key='index'>
            <p class="analyItemTit tx-center">{{item.attr_name | slice(0,4)}}</p>
            <div class="analyItemCon">
                <div class="col-md-12">
                    <rx-viewer>
                        <div class="clearfix">
                            <div class="col-md-4">
                                <img :src="item.Description !== '' ? item.Description  : 'https://proj01.oss-cn-beijing.aliyuncs.com/common/1572060039EDheHQcxbw.png?x-oss-process=image/resize,m_fill,h_80,w_80,limit_0' | smallImg(60, 60)" :alt="index">
                            </div>
                        </div>
                    </rx-viewer>
                </div>
            </div>
        </div>
    </div>
    <div class="layerRtb-footer">
        <div class="analyItem">
            <p class="analyItemTit tx-center">综合</p>
            <div class="analyItemCon">
                <div class="col-md-3">
                     <span class="cLightGray pr8">总数</span>
                     <span>{{dataList.length}}</span>
                </div>
            </div>
        </div>
    </div>
</div>
</template>
<script>
export default {
    props: [ 'currentDataList' ],
    data () {
        return {
            dataList: [] // 当前数组
        }
    },
    created () {
        this.dataList = this.currentDataList
    },
    methods: {
    },
    watch: {
        $route () {
            this.dataList = this.currentDataList
        }
    }
}
</script>
